const path = ['供应商管理','质检商品信息', '质检列表'];
const configArr = [
	{
        color: "brown",
        label: "全部质检记录",
        value: "type1",
        count: 300
    },
    {
        color: "green",
        label: "待质检",
        value: "type2",
        count: 300
    },
]
//
const filterOption = {
  items: [
    {
      label: "关键字",
      type: "input",
      data: undefined,
      placeholder: "采购单号/条码/结算单号/定制编码",
      value: undefined,
      key: "keyWord"
    },
    {
      label: "责任归属",
      type: "dropdown",
      data: [
         
      ],
      placeholder: "请选择",
      value: undefined,
      key: "duty"
    },
    
    {
      label: "质检状态",
      type: "dropdown",
      data: [
        
      ],
      placeholder: "请选择",
      value: undefined,
      key: "status"
    },
    {
      label: "送检地址",
      type: "dropdown",
      data: [
				{
					label: "到厂质检",
					value: 1
				},
				{
					label: "DR供应链",
					value: 2
				}
     
      ],
      placeholder: "请选择",
      value: undefined,
      key: "qcAddress"
    },
    {
      label: "质检人",
      type: "dropdown",
      data: [
				
      ],
      placeholder: "请选择",
      value: undefined,
      key: "qualityController"
    },{
			label: "送检时间",
			type: "datetimerange",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "createTime"
		},{
			label: "质检时间",
			type: "datetimerange",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "qualityTime"
		}
  ],
  btnGroup: [{
      label: "查询",
      type: "search"
    },
    {
      label: "清除",
      type: "clear"
    }
  ]
};
//分页数据
const paginationObject = {
  currentPage: 1,
  pageSize: 1,
  pageTotal: 1,
  total:1,
  num1:1,
  num2:1
}
const tableHeaderData = [
  {
		prop:'barcode',
		label:'条码',
		width:''
	},
	{
		prop:'description',
		label:'描述',
		width:''
	},
	{
		prop:'statusDict',
		label:'质检状态',
		width:''
	},
	{
		prop:'reason',
		label:'不合格原因',
		width:''
	},
	{
		prop:'purchaseNumber',
		label:'采购单号',
		width:'160'
	},
	{
		prop:'duty',
		label:'责任归属',
		width:''
	},
	{
		prop:'qcAddress',
		label:'质检地址',
		width:''
  },
  {
		prop:'customCode',
		label:'定制编码',
		width:''
  },
  {
		prop:'showStatus',
		label:'数量',
		width:''
  },
  {
		prop:'createTime',
		label:'送检时间',
		width:''
  },
  {
		prop:'qualityTime',
		label:'质检时间',
		width:''
  },
  {
		prop:'qualityController',
		label:'质检人',
		width:''
  }
]
let tableData = []
//
let Model = {
	data() {
		return {
			Model: {
				path,
				configArr,
				filterOption,
				TableSelectData:[],
				tableData,
				tableHeaderData,
				paginationObject,
        dutys:[],
        qualityController:[],
        qualityStatus:[]
			}
		}
	}
}
export default Model;
